'use strict';
/**
 * 本地联调配置文件
 */
module.exports = appInfo => {
  const config = exports = {};
  //本地端口设置
  config.cluster = {
    listen: {
      path: '',
      port: 7001,
      hostname: '0.0.0.0',
    }
  }
  //数据库配置
  config.postgre = {
    user: 'imatrix',
    password: 'D74GM8hHTU28y2QU',
    database: 'imatrix-cube',
    host: 'dev.quantcube.com.cn/'
  }
  
  //redis设置
  config.redisKey = 'IMATRIX_ADMIN_USER_'
  config.redis = {
    client: {
      port: 6679,
      host: 'dev.quantcube.com.cn',
      password: '9zgo9474BY3UmTcC',
      db: 0
    }
  }

  return config;
};
